import request from '@/utils/request'

export function findAllCollege(params) {
  return request({
    url: '/findAllCollege',
    method: 'get',
    params
  })
}
export function selectCollegeByName(params) {
  return request({
    url: '/selectCollegeByName',
    method: 'get',
    params
  })
}
export function deleteCollege(params) {
  return request({
    url: '/deleteCollege',
    method: 'delete',
    params
  })
}
export function updateCollegeById(data) {
  return request({
    url: '/updateCollegeById',
    method: 'post',
    data
  })
}
export function addCollege(data) {
  return request({
    url: '/addCollege',
    method: 'post',
    data
  })
}
